﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace BLL
{
   public class UnitBLL
    {
       DAL.UnitDAL unitdal = new DAL.UnitDAL();
       //获取汇率
        public float getChangeRate(string unitid)
        {
            DataTable dt = unitdal.getUnit(unitid);
            return float.Parse(dt.Rows[0]["changeRate"].ToString());
        }
    }
}
